﻿using System;
using System.Collections.Generic;
using System.Linq;
using EventRegistration;
using System.IO;
using System.Net;
using System.Data;
using System.Collections.ObjectModel;

public partial class _Default : System.Web.UI.Page
{

    protected void Page_Load(object sender, EventArgs e)
    {
        
    }

    protected string GetStarPhotoUrl(string photoFileName)
    {
        return ResolveClientUrl(Path.Combine(DataHelper.StarsPhotoFolder, photoFileName));
    }
    /// <summary>
    /// Redirect to login page when click on login button
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected void btnLogin_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/Register/Login.aspx");
    }
    /// <summary>
    /// Redirect to register page when click on registration button
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected void btnRegister_Click1(object sender, EventArgs e)
    {
        Response.Redirect("~/Register/Register.aspx");
    }
}


